Optimal. Leaf size=58 \[ \frac{x \left (a+b x^n\right ) \left (c+d x^n\right )^{-\frac{1}{n}-1}}{c (n+1)}+\frac{a n x \left (c+d x^n\right )^{-1/n}}{c^2 (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0136548, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {378, 191} \[ \frac{x \left (a+b x^n\right ) \left (c+d x^n\right )^{-\frac{1}{n}-1}}{c (n+1)}+\frac{a n x \left (c+d x^n\right )^{-1/n}}{c^2 (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 378
Rule 191
Rubi steps
\begin{align*} \int \left (a+b x^n\right ) \left (c+d x^n\right )^{-2-\frac{1}{n}} \, dx &=\frac{x \left (a+b x^n\right ) \left (c+d x^n\right )^{-1-\frac{1}{n}}}{c (1+n)}+\frac{(a n) \int \left (c+d x^n\right )^{-1-\frac{1}{n}} \, dx}{c (1+n)}\\ &=\frac{x \left (a+b x^n\right ) \left (c+d x^n\right )^{-1-\frac{1}{n}}}{c (1+n)}+\frac{a n x \left (c+d x^n\right )^{-1/n}}{c^2 (1+n)}\\ \end{align*}
Mathematica [C] time = 0.107201, size = 82, normalized size = 1.41 \[ \frac{x \left (c+d x^n\right )^{-\frac{n+1}{n}} \left (a (n+1) \left (c+d x^n\right ) \left (\frac{d x^n}{c}+1\right )^{\frac{1}{n}} \, _2F_1\left (2+\frac{1}{n},\frac{1}{n};1+\frac{1}{n};-\frac{d x^n}{c}\right )+b c x^n\right )}{c^2 (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.421, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b{x}^{n} \right ) \left ( c+d{x}^{n} \right ) ^{-2-{n}^{-1}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}^{-\frac{1}{n} - 2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.61014, size = 177, normalized size = 3.05 \begin{align*} \frac{{\left (a d^{2} n + b c d\right )} x x^{2 \, n} +{\left (2 \, a c d n + b c^{2} + a c d\right )} x x^{n} +{\left (a c^{2} n + a c^{2}\right )} x}{{\left (c^{2} n + c^{2}\right )}{\left (d x^{n} + c\right )}^{\frac{2 \, n + 1}{n}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]